#include "tickable.h"

void TickableList::HandleTick (unsigned time) {
	for (std::list<Tickable*>::iterator iter = begin(); iter != end(); iter++) {
		(*iter)->HandleTick(*field, time);
	}
}

void TickableList::Draw (SDL_Surface * screen, unsigned time) {
	for (std::list<Tickable*>::iterator iter = begin(); iter != end(); iter++) {
		(*iter)->Draw(screen, time);
	}
}
